home *** CD-ROM | disk | FTP | other *** search
- i = "1";
- while("50" >= i)
- {
- removeMovieClip("expand" add i);
- removeMovieClip("catch" add i);
- removeMovieClip("slow" add i);
- i += "1";
- }
- if(level_is == "1")
- {
- tellTarget("/soundFX")
- {
- gotoAndStop("next_level");
- play();
- }
- call("reset_variables");
- call("setup_level2");
- }
- else if(level_is == "2")
- {
- tellTarget("/soundFX")
- {
- gotoAndStop("next_level");
- play();
- }
- call("reset_variables");
- call("setup_level3");
- }
- else if(level_is == "3")
- {
- tellTarget("/soundFX")
- {
- gotoAndStop("next_level");
- play();
- }
- call("reset_variables");
- call("setup_level4");
- }
- else
- {
- tellTarget("/soundFX")
- {
- gotoAndStop("win");
- play();
- }
- gotoAndPlay(100);
- }
-